package com.drinks.yiniang.entity.user.order;

import com.hansen.library.utils.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * 确认订单数据json
 * @author han
 * @date 2019/11/19
 */
public class OrderConfirmJson {

    private OrderConfirmData data;

    public OrderConfirmData getData() {
        return data;
    }

    public void setData(OrderConfirmData data) {
        this.data = data;
    }

    public static class OrderConfirmData {
        //总价
        private String total_price;
        //活动优惠的价格值
        private String activities_coupons_price;
        //可获得积分
        private String get_point;
        //积分比率
        private String get_point_rate;
        private OrderConfirmGoods goods;
        //从购物车进入的返回list
        private List<OrderConfirmGoods> goods_list;
        //邮费
        private String postage;
        //订单价格(商品价格+邮费)
        private String order_price;

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getActivities_coupons_price() {
            return activities_coupons_price;
        }

        public void setActivities_coupons_price(String activities_coupons_price) {
            this.activities_coupons_price = activities_coupons_price;
        }

        public String getGet_point() {
            return get_point;
        }

        public void setGet_point(String get_point) {
            this.get_point = get_point;
        }

        public String getGet_point_rate() {
            return get_point_rate;
        }

        public void setGet_point_rate(String get_point_rate) {
            this.get_point_rate = get_point_rate;
        }

        public OrderConfirmGoods getGoods() {
            return goods;
        }

        public void setGoods(OrderConfirmGoods goods) {
            this.goods = goods;
        }

        public List<OrderConfirmGoods> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<OrderConfirmGoods> goods_list) {
            this.goods_list = goods_list;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getOrder_price() {
            return order_price;
        }

        public void setOrder_price(String order_price) {
            this.order_price = order_price;
        }
    }

    public static class OrderConfirmGoods {
        private String id;
        private String name;
        private String single_capacity;
        private String app_price;
        private String recommend_reason;
        private String num;
        private String cover_url;
        private String goods_sku_id;
        private String sku_name;
        private String sku_value;
        //活动价格
        private String activity_price;
        //是否展示对比价 0不展示 其他展示 则显示活动价格 和原价
        private String is_show_contrast;
        //活动ID
        private String activies_app_id;
        //商品参与活动的描述
        private String activies_des;
        //赠送数量
        private String give_num;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSingle_capacity() {
            return single_capacity;
        }

        public void setSingle_capacity(String single_capacity) {
            this.single_capacity = single_capacity;
        }

        public String getApp_price() {
            return app_price;
        }

        public void setApp_price(String app_price) {
            this.app_price = app_price;
        }

        public String getRecommend_reason() {
            return recommend_reason;
        }

        public void setRecommend_reason(String recommend_reason) {
            this.recommend_reason = recommend_reason;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getCover_url() {
            return cover_url;
        }

        public void setCover_url(String cover_url) {
            this.cover_url = cover_url;
        }

        public String getGoods_sku_id() {
            return goods_sku_id;
        }

        public void setGoods_sku_id(String goods_sku_id) {
            this.goods_sku_id = goods_sku_id;
        }

        public String getSku_name() {
            return sku_name;
        }

        public void setSku_name(String sku_name) {
            this.sku_name = sku_name;
        }

        public String getSku_value() {
            return sku_value;
        }

        public void setSku_value(String sku_value) {
            this.sku_value = sku_value;
        }

        public String getActivity_price() {
            return activity_price;
        }

        public void setActivity_price(String activity_price) {
            this.activity_price = activity_price;
        }

        public String getIs_show_contrast() {
            return is_show_contrast;
        }

        public void setIs_show_contrast(String is_show_contrast) {
            this.is_show_contrast = is_show_contrast;
        }

        public String getActivies_app_id() {
            return activies_app_id;
        }

        public void setActivies_app_id(String activies_app_id) {
            this.activies_app_id = activies_app_id;
        }

        public String getActivies_des() {
            return activies_des;
        }

        public void setActivies_des(String activies_des) {
            this.activies_des = activies_des;
        }

        public String getGive_num() {
            return give_num;
        }

        public void setGive_num(String give_num) {
            this.give_num = give_num;
        }
    }
}
